const ls = window.localStorage

// 处理用户 token
const USER_TOKEN_KEY = 'bkpx-2021-user-token'

export const setToken = () => {
    ls.setItem(USER_TOKEN_KEY, token)
}

export const getToken = () => {
    return ls.getItem(USER_TOKEN_KEY)
}

export const removeToken = () => {
    ls.removeItem(USER_TOKEN_KEY)
}
